package com.example.lanouhn.firstapp.activity.activity;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.example.lanouhn.firstapp.R;

import butterknife.ButterKnife;


//个人中心的关于我们页面跳转后的文章列表
public class AboutOurActivity extends AppCompatActivity {

    //定义对象 关于我们
    private TextView tv_aboutOur;
    //免责声明
    private TextView tv_disclaimer;
    //招聘英才
    private TextView tv_recruit;
    //商务合作
    private TextView tv_cooperate;
    //返回
    private ImageView iv_back;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_about_our);
        ButterKnife.bind(this);
        tv_aboutOur = (TextView) findViewById(R.id.aboutOur);
        tv_disclaimer = (TextView) findViewById(R.id.disclaimer);
        tv_recruit = (TextView) findViewById(R.id.recruit);
        tv_cooperate = (TextView) findViewById(R.id.cooperate);
        iv_back = (ImageView) findViewById(R.id.iv_back);

        //关于我们--点击事件
        tv_aboutOur.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent = new Intent(AboutOurActivity.this, AboutOurOneActivity.class);
                startActivity(intent);
            }
        });
        //免责声明--点击事件
        tv_disclaimer.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent = new Intent(AboutOurActivity.this, DisclaimerActivity.class);
                startActivity(intent);
            }
        });
        //招聘英才--点击事件
        tv_recruit.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent = new Intent(AboutOurActivity.this, RecruitActivity.class);
                startActivity(intent);
            }
        });
        //合作--点击事件

        tv_cooperate.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent = new Intent(AboutOurActivity.this, CooperateActivity.class);
                startActivity(intent);
            }
        });

        //返回--点击事件

        iv_back.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                finish();
            }
        });
    }



}
